package com.x.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class PageController {
	@RequestMapping("doIndex")
	public String doIndex(){
		return "index";
	}
	
	@RequestMapping("doLogin")
	public String doLogin(){
		return "login";
	}
	
	@RequestMapping("doPageUI")
	public String doPageUI(){
		return "page";
	}
	

	@RequestMapping("x/{module}")
	public String doMoudle(@PathVariable String  module) {
		return module;
	}
}
